#!/bin/bash
#variables
PROJECT_PATH="IOSDemo"
MONKEY_TALK_SCRIPT_PATH="test_scripts"
BUILD_PATH="${PROJECT_PATH}"/"build/Release-iphonesimulator/IOSDemoMonkey.app"

clear
echo "=============RUNNING TEST SCRIPTS================"
CURRENT_DIRECTORY="`pwd`"
iphonesim launch-async "${CURRENT_DIRECTORY}"/"${BUILD_PATH}"
cd "${MONKEY_TALK_SCRIPT_PATH}"
ant
cd ".."